package com.czh.subject.application.convert;

import com.czh.subject.application.dto.SubjectCategoryDTO;
import com.czh.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE = Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategoryBO convert(SubjectCategoryDTO subjectCategoryDto);

    List<SubjectCategoryDTO> convert(List<SubjectCategoryBO> subjectCategoryDTOList);

    SubjectCategoryDTO convert(SubjectCategoryBO subjectCategoryBo);
}
